package com.citybox.infrastructure.kv.persistence.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.citybox.domain.kv.KvConfigDo;
import com.citybox.infrastructure.kv.dataobject.KvConfig;
import org.apache.ibatis.annotations.*;

@Mapper
public interface KvConfigMapper extends BaseMapper<KvConfig> {

    @Select("SELECT * FROM k_v_config WHERE k = #{k}")
    KvConfigDo getKVConfigByK(@Param("k") String k);
}
